

// eslint-disable-next-line no-unused-vars
import react, { Component } from "react";
import { BrowserRouter, Route } from "react-router-dom";
// import { Button } from 'antd';

import Login from "./pages/login"
import Admin from "./pages/admin"
export default class App extends Component {

  render() {
    return (
      <BrowserRouter>
        <Route path="/login" component={Login}></Route>
        <Route path="/admin" component={Admin}></Route>
      </BrowserRouter>
    )
  }
}